package com.huatai.datacenter.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huatai.datacenter.entity.datamodel.DataModelEntity;

import java.util.List;

/**
 * @author gusiyi
 * @version 1.0
 * @className DataModelService
 * @description 描述：数据模型service
 * @date 2023/5/25 17:10
 */

public interface DataModelService extends IService<DataModelEntity> {

	/**
	 * 查询数据模型清册
	 * @param dataModelEntity
	 * @return
	 */
	Page<DataModelEntity> selectDataModelList(DataModelEntity dataModelEntity);

	/**
	 * 保存数据模型
	 * @param dataModelEntity
	 * @return
	 */
	boolean insertDataModel(DataModelEntity dataModelEntity);

	/**
	 * 修改数据模型
	 * @param dataModelEntity
	 * @return
	 */
	boolean updateDataModel(DataModelEntity dataModelEntity);

	/**
	 * 删除数据模型
	 * @param dataModelEntitys
	 * @return
	 */
	boolean deleteByIds(List<DataModelEntity> dataModelEntitys);
}
